import React from "react"
class Club extends React.Component {
    handleCopy() {
        console.log("复制了")
    }
    handleCut() {
        console.log("剪贴了")

    }
    handlePaste(e) {
        console.log(e)
        console.log("粘贴了")
    }
    render() {
        return (
            <fieldset>
                <legend>剪贴板</legend>
                <input type="text" onCopy={this.handleCopy} onCut={this.handleCut} onPaste={this.handlePaste} />
            </fieldset>
        )
    }
}
export default Club